package com.shujia.wyh.day13.homework.drinkdemo;

public class Water extends Drink{
    public Water() {
    }

    public Water(int volume, String name) {
        super(volume, name);
    }

    @Override
    public void show() {
        super.show();
        System.out.println("名称："+getName());
        System.out.println("容量："+getVolume());
    }
}
